package com.bsoft.exchange.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.List;

/**
 * 创建日期 : 2019/10/18
 * 创建人 : 赵太行
 */
public class CostDateListDomain {
    private String FZRQ;
    private String costDate;
    private Double totalCost;
    private List<MainCostListDomain>mainCostList;
    @JsonIgnore
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    public String getFZRQ() {
        return FZRQ;
    }

    public void setFZRQ(String FZRQ) {
        this.FZRQ = FZRQ;
    }
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    public String getCostDate() {
        return costDate+" 00:00:00";
    }

    public void setCostDate(String costDate) {
        this.costDate = costDate;
    }

    public Double getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(Double totalCost) {
        this.totalCost = totalCost;
    }

    public List<MainCostListDomain> getMainCostList() {
        return mainCostList;
    }

    public void setMainCostList(List<MainCostListDomain> mainCostList) {
        this.mainCostList = mainCostList;
    }
}
